import topOperation from '@/components/jsbos-topOperation'
import tableOperation from '@/components/jsbos-tableOperation'
import Pagination from '@/components/Pagination'
import UserBox from '@/components/jsbos-userBox'
import Screenfull from '@/components/Screenfull'
import ColumnSettings from '@/components/ColumnSettings'
import UserSelect from '@/components/jsbos-userSelect'
import CusSelect from '@/components/CusSelect'
import uploadBtn from '@/components/jsbos-uploadBtn'
import jsbosInputFormat from '@/components/jsbos-input-format'
import jsbosInputRatio from '@/components/jsbos-inputRatio'

import jsbosContractSelect from '@/components/jsbos-contract/jsbos-contract-select' //销售合同
import jsbosContractProject from '@/components/jsbos-contract/jsbos-contractProject' //销售合同关联，销售项目
import jsbosAllProject from '@/components/jsbos-contract/jsbos-allProject' //通过分类查找项目，关联
import jsbosContractProcure from '@/components/jsbos-contract/jsbos-contract-procure' //通过分类查找项目，关联
import jsbosOpportunityReportPool from '@/components/jsbos-opportunityReportPool' //通过当前登陆人查询报备商机



import Quill from '@/components/jsbos-editor/quill'
import TreeSelect from '@/components/tree-select'
import JsbosTreeSelect from '@/components/jsbos-treeSelect'
import JsbosTable from '@/components/jsbos-table'
import JsbosFormTipItem from '@/components/jsbos-form-tip-item'
// 代码生成器专供
import JsbosText from '@/components/Generator/components/JsbosText'
import Barcode from '@/components/Generator/components/Barcode'
import Qrcode from '@/components/Generator/components/Qrcode'
import JsbosButton from '@/components/Generator/components/JsbosButton'
import UploadFz from '@/components/Generator/components/Upload/UploadFz'
import UploadImg from '@/components/Generator/components/Upload/UploadImg'
import PopupSelect from '@/components/Generator/components/PopupSelect'
import PopupAttr from '@/components/Generator/components/PopupAttr'
import NumRange from '@/components/Generator/components/NumRange'
import ComSelect from '@/components/Generator/components/ComSelect'
import DepSelect from '@/components/Generator/components/DepSelect'
import ProductSelect from '@/components/Generator/components/ProductSelect'
import PosSelect from '@/components/Generator/components/PosSelect'
import DicSelect from '@/components/Generator/components/DicSelect'
import BillRule from '@/components/Generator/components/BillRule'
import InputTable from '@/components/Generator/components/InputTable'
import Address from '@/components/Generator/components/Address'
import Amount from '@/components/Generator/components/Amount'
import GroupTitle from '@/components/Generator/components/GroupTitle'
import RelationForm from '@/components/Generator/components/RelationForm'
import RelationFormAttr from '@/components/Generator/components/RelationFormAttr'
import Calculate from '@/components/Generator/components/Calculate'
import roleSelect from '@/components/Generator/components/roleSelect'

import dailyTimer from '@/components/Generator/components/dailyTimer'

export default {
  install(Vue, options) {
    Vue.component('dailyTimer', dailyTimer)
    Vue.component('TreeSelect', TreeSelect)
    Vue.component('JsbosTreeSelect', JsbosTreeSelect)
    Vue.component('topOpts', topOperation)
    Vue.component('tableOpts', tableOperation)
    Vue.component('Pagination', Pagination)
    Vue.component('JsbosTable', JsbosTable)
    Vue.component('JsbosFormTipItem', JsbosFormTipItem)
    Vue.component('uploadBtn', uploadBtn)
    Vue.component('UserBox', UserBox)
    Vue.component('JsbosText', JsbosText)
    Vue.component('Barcode', Barcode)
    Vue.component('Qrcode', Qrcode)
    Vue.component('JsbosButton', JsbosButton)
    Vue.component('UploadFz', UploadFz)
    Vue.component('UploadImg', UploadImg)
    Vue.component('PopupSelect', PopupSelect)
    Vue.component('PopupAttr', PopupAttr)
    Vue.component('NumRange', NumRange)
    Vue.component('ComSelect', ComSelect)
    Vue.component('DepSelect', DepSelect)
    Vue.component('ProductSelect',ProductSelect)
    Vue.component('PosSelect', PosSelect)
    Vue.component('UserSelect', UserSelect)
    Vue.component('CusSelect', CusSelect)
    Vue.component('DicSelect', DicSelect)
    Vue.component('BillRule', BillRule)
    Vue.component('InputTable', InputTable)
    Vue.component('JsbosAddress', Address)
    Vue.component('Amount', Amount)
    Vue.component('GroupTitle', GroupTitle)
    Vue.component('RelationForm', RelationForm)
    Vue.component('RelationFormAttr', RelationFormAttr)
    Vue.component('Calculate', Calculate)
    Vue.component('Quill', Quill)
    Vue.component('Screenfull', Screenfull)
    Vue.component('ColumnSettings', ColumnSettings)
    Vue.component('jsbosInputFormat', jsbosInputFormat)
    Vue.component('jsbosContractSelect', jsbosContractSelect)
    Vue.component('jsbosContractProject',jsbosContractProject)
    Vue.component('jsbosAllProject', jsbosAllProject)
    Vue.component('jsbosInputRatio', jsbosInputRatio)
    Vue.component('roleSelect', roleSelect)
    Vue.component('jsbosContractProcure', jsbosContractProcure)
    Vue.component('jsbosOpportunityReportPool', jsbosOpportunityReportPool)
  }
}
